import React from 'react'
import { Tabbar } from 'react-vant';
import { FriendsO, HomeO, Search, SettingO } from '@react-vant/icons'
import {NavLink} from "react-router-dom"
function Tab() {
  return (
    <Tabbar>
    <Tabbar.Item icon={<HomeO />}>
        <NavLink to="/index/home">首页</NavLink>
    </Tabbar.Item>
    <Tabbar.Item icon={<Search />}>
         <NavLink to="/index/shopcar">购物车</NavLink>
    </Tabbar.Item>
   
  </Tabbar>
  )
}

export default Tab